package com.collaboration.electron.dao;

import com.collaboration.electron.entities.Product;
import com.collaboration.electron.entities.U;
import org.springframework.data.repository.CrudRepository;

import java.util.List;

/**
 * @author pinzi
 * @param
 * @return 无
 */

public interface ProductRepository extends CrudRepository<Product, Long> {
    @Override
    List<Product> findAll();

    List<Product> findAllByUserId(long Id);

}
